package com.sixth.dao;

import com.sixth.entity.Goods;
import com.sixth.entity.Limit;
import com.sixth.entity.Staff;
import com.sixth.entity.Warehousings;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @program: project01
 * @description:
 * @author: 老魏
 * @create: 2021-12-18 15:43
 **/
public interface AuditDao {
    int updateStatus(@Param("id") Integer var1, @Param("status") Integer var2, @Param("dates") Date var3);

    int updateStatuses(@Param("id") Integer var1, @Param("status") Integer var2, @Param("dates") Date var3, @Param("msg") String var4);

    int update(@Param("id") Integer var1, @Param("status") Integer var2);

    List<Map> getAllWarehousings(@Param("staff") Staff var1, @Param("warehousing") Warehousings var2, @Param("id") Integer var3);

    Integer batchOutLibrary(@Param("branchid") Integer var1, @Param("goodsid") Integer var2, @Param("num") Integer var3);

    List<Goods> getAllShoping(@Param("goods") Goods var1, @Param("limit") Limit var2);

    List<Warehousings> getWarehousingDetails(@Param("id") Integer var1);

}
